From: LLVM Packaging Team Date: Sat, 8 Nov 2025 13:36:04 +0000 (+0100) Subject: ubuntu-questing X-Git-Tag: archive/raspbian/1%18.1.8-20+rpi1~1^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=984977139d067a4072019861a97918f3e3e8d8cc;p=llvm-toolchain-18.git ubuntu-questing commit 112ffe7c621e8bf145c5c5926e36f3af9e0fd045 Author: Sylvestre Ledru Date: Tue Apr 22 11:50:58 2025 +0200 Add support of the next Ubuntu (Ubuntu 25.10 - Questing Quokka) Gbp-Pq: Name ubuntu-questing.patch --- diff --git a/clang/include/clang/Driver/Distro.h b/clang/include/clang/Driver/Distro.h index b4d485dac8..9f27c2baae 100644 --- a/clang/include/clang/Driver/Distro.h +++ b/clang/include/clang/Driver/Distro.h @@ -81,6 +81,7 @@ public: UbuntuNoble, UbuntuOracular, UbuntuPlucky, + UbuntuQuesting, UnknownDistro }; @@ -132,7 +133,7 @@ public: } bool IsUbuntu() const { - return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky; + return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting; } bool IsAlpineLinux() const { return DistroVal == AlpineLinux; } diff --git a/clang/lib/Driver/Distro.cpp b/clang/lib/Driver/Distro.cpp index 3d1bce027f..2a35fd033d 100644 --- a/clang/lib/Driver/Distro.cpp +++ b/clang/lib/Driver/Distro.cpp @@ -97,6 +97,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { .Case("noble", Distro::UbuntuNoble) .Case("oracular", Distro::UbuntuOracular) .Case("plucky", Distro::UbuntuPlucky) + .Case("questing", Distro::UbuntuQuesting) .Default(Distro::UnknownDistro); return Version; }